<include file="header">
		<div id="content">
			<div  class="_table width" >
				<form action="{:Dyhb::U('filecomment/deal?gid='.$oArt->article_id)}" method="post" name="comment_form">
					<table class="border" width="100%" border="1" cellspacing="0" cellpadding="0">
						<tr >
							<td >
								<div class="blogcontent left">
										<p id="_title_">{$oArt->article_title}</p>
										<p style="padding:0px;margin:0px;color:#FFA07A"><span><a href="{:Dyhb::U('user/showArticle?gid='.$oArt->article_author)}">{$oArt->article_author}</a> 发表于</span>{$oArt->article_createdate} {$oArt->article_createdate|strtotime|date="l",**}</p>
										<div class="cont">
											{$TheController->toHtml($oArt->article_content)}
										</div>
								</div>
								<p id="commenthead">
									网友评论:
								</p>
								<if condition="!empty($oCom)">
									<foreach for=oCom>
										<div id="commentlist">
											<div>{$i}楼:</div>
											{$value->user_name}
											<p style="padding:0px;margin:0px;color:#FFA07A">{$value->comment_createdate} {$value->comment_createdate|strtotime|date="l",**}</p>
											<p>{$TheController->toHtml($value->comment_content)}</p>
											{if $GLOBALS['___login___']!=false}
												<div style="text-align:right;">
													<a href="{:Dyhb::U('filecomment/deleteCom?id='.$value->comment_id)}">删除</a>
												</div>
											{/if}
										</div>
									</foreach>
								<else />
								</if>
								{if $GLOBALS['___login___']==false}
								<div id="comment">
								<label for="comment_name">姓 名 : &nbsp</label><input  type="text" name="comment_name" id="comment_name" /><br />
								<label for="comment_email">Email : &nbsp</label><input type="text" size="40" name="comment_email" id="comment_email" /><br />
								<label for="comment_content" style="float:left" >内 容 : </label><textarea rows="10"  name="comment_content" id="comment_content" ></textarea><br />
								<input type="submit" name="comment_sub" id="comment_sub" value="发表评论" style="margin-left:42px;" onclick="javascript:return pubcheck();" />
								{d*else}
								<div id="nologin">
								<label for="comment_content">内 容 : </label><textarea rows="10"  name="comment_content" id="comment_content" ></textarea><br />
								<input type="submit" name="comment_sub" id="comment_sub" value="发表评论"  onclick="javascript:return pubcheck();" />
								</div>
								{/if}
								</div>
							</td>
						</tr>
					</table>
				</form>
			</div><!--/_table-->
		</div>
		<!--/content-->
<include file="footer">